package wapper;

public class IntegerDemo3 {
    public static void main(String[] args) {
        int a = 123;
        Integer i = a;//自动装箱，相当于Integer i = new Integer(a);
        int b = i;//自动拆箱，相当于int b = i.intValue();
        doSome(i);//泛型，相当于doSome(Integer i);

    }
    public static void doSome(Object obj){

    }
}
